import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
// 1.使用 Vite 构建工具结合 React 框架搭建项目开发环境
import { RouterProvider } from 'react-router-dom'
import routes from './router/Index'
// 4.集成 Ant Design 组件库并配置按需加载功能
import {  Loading } from 'react-vant';
createRoot(document.getElementById('root')!).render(
  <StrictMode >
 <RouterProvider router={routes}>

 </RouterProvider>
 <Loading />
  </StrictMode>,
)
